<?php include $this->getViewFile('/common/Head') ?>
<body class="J_scroll_fixed">


<div class="wrap J_check_wrap">
  <?php include $this->getViewFile('/common/Nav') ?>



  <!-- 搜索页面 -->
  <div class="h_a">查找</div>
  <?php $objForm = $this->beginWidget('CActiveForm', array('method' => 'get', 'id' => 'submitForm', 'action' => $this->createUrl('index'))); ?>

    <div class="search_type cc mb10">

      <div class="mb10"> 
       </div>

       <div class="mb10">
      处理状态：<?php echo $objForm->dropDownList($model, 'status', PunishModel::getStatusHtmlList($model->status), array('empty' => '全部')) ?>

        
        关键字：<?php echo Form::select(array(1=>'会员ID',2=>'用户名',3=>'商品ID',4=>'商品名',5=>'处理人ID',),$type,'name="type"') ?>
        <input type="text" class="input length_2" name="keyword" style="width:200px;" value="<?php echo $keyword?>" placeholder="请输入搜索内容...">
        <button class="btn">搜索</button>
      </div>


    </div>
<?php $this->endWidget(); ?>



  <!-- 列表页面 -->
  <div class="mb10"> 共有 ( <b><?php echo $count; ?></b> ) 个举报</div>
  <form name="myform" action="" method="post" class="J_ajaxForm">
    <div class="table_list">
      <table width="100%" cellspacing="0">
        <thead>
          <tr>
            <td width="6%" align="center"><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x">全选</td>
            <td width="10%" align="center">会员名</td>
            <td width="8%" align="center">商品ID</td>
            <td width="14%" align="center">商品名</td>
            <td width="4%" align="center">状态</td>
            <td align="center">举报原因</td>
<!--             <td width="" align="center">处理原因</td> -->            
            <td width="10%" align="center">举报时间</td>
            <td width="" align="center">管理操作</td>
          </tr>
        </thead>
        <tbody>
         <?php
		 foreach($data as $rs){
		 ?>
         <tr  id="gbinfo_<?php echo $rs->id;?>">
            <?php include $this->getViewFile('public_load'); ?>
         </tr>
         <?php
		 }
		 ?>
        </tbody>
      </table>
      <div class="p10">
        <div class="pages"><?php echo $Page;?></div>
      </div>
    </div>
  </form>
</div>




<script src="<?php echo $staticUrl; ?>statics/js/common.js"></script>

</body>
</html>